/*
 * @Author: MarioGo
 * @Date: 2021-12-08 11:37:34
 * @LastEditTime: 2021-12-08 14:06:53
 * @LastEditors: MarioGo
 * @Description: 文件描述
 * @FilePath: /vite_vue3_ts/src/main.ts
 * 可以输入预定的版权声明、个性签名、空行等
 */
import { createApp } from "vue";
import App from "./App.vue";
import router from "./router/index.ts";
import { create, NButton } from "naive-ui";
import { createPinia } from "pinia";

const naive = create({
  components: [NButton],
});
const app = createApp(App);
app.use(createPinia());
app.use(router);
app.use(naive);
app.mount("#app");
